package com.product.system.service;

import com.github.pagehelper.PageInfo;
import com.product.system.domain.FactoryUser;
import com.product.system.domain.request.SysRoleSerch;
import com.product.system.domain.response.SysRole;
import com.product.system.domain.response.SysShowForm;

import java.util.List;

public interface SysRoleService {


    PageInfo<SysRole> roleList(SysRoleSerch sysRoleSerch);


    void roleAdd(SysRole sysRole);

    Boolean roleUpdata(SysRole sysRole);

    List<SysRole> excelList();

    Boolean roleDel(Integer roleId);

    List<SysShowForm> showForm();

    void loadinRoleAdd(SysRole sysRole);

    void loadinRoleMatchAdd(List<SysRole> cachedSysRoleList);

    FactoryUser selectSysRole(String name);
}
